FIX: change the way we detect if there is already a window asking for a picture or not. We moved from a not very reliable internal variable to a full scan of the windows and check of the URL