A number of actions such as uploading an image, deleting an image, etc created a Div mess if the Omero treeview was already displayed. Fixed by first "closing" the Omero div and afterwards showing the Div of the requested action.