Added loading prompt for popup windows.