Component / script to close current Notebook experiment in browser

Due to defect ANC-104 (content passed from Pipeline Pilot protocols to a Notebook experiment section are not displayed using the web browser) would it be possible to develop a component that closes current experiment tab in a browser?

I currently have a protocol that runs direct from the tasks menu in Notebook.  This can create a number of sections but usually at least one section appears blank and doesn't display the content.  It displays fine in the Windows client.

However if the experiment tab is closed while this protocol is running the frequency of the above error is significantly reduced if not completely solved.

With my very limited java and python knowledge I don’t think there is a safe/acceptable way to specify a tab with a specific URL to close.  This would be nice as a feature within Pipeline Pilot for this very reason.

My protocol already contains java script to launch the experiment upon completion. It would just be nice if the user didn’t have to remember to close the current experiment once the protocol starts running.

Alternatively, is there a simple piece of pilot script / java to perform this task?

Thanks