Popover is not removed by a ?restartApplication

I am trying to use the Popover class from the Touch kit but I am having some issues with it…
Sometimes it seems like it does not want to display properly and almost impossible to get rid of.

This, I assume, could be solved by restarting the application using “?restartApplication”.

Here is a simplified sample code that I use to open a window.



public void itemClick(ItemClickEvent event) {
     Popover p = new Popover();
     getWindow().addWindow(p);
}

This popover does not disappear for me when I use “?restartApplication” … Am I missing something?