Touch fix

Fix for an issue with making app window key window when alerts are
shown from modal views.