Displaying popups works fine