Add support for window can become key

This allows popvover to be shown without main window resigning key.