Assert that alert view is shown on the main thread