Warning popup opens relative to the window