fix issue #65 window isnt on top after a specific hidden action