Floating web view window focus

I have a window with some buttons, that remains open after a button being clicked( closeFloatingHTMLMenu= 0). So far so good.
But after clicking a button, the window buttons are greyed out.