Fix inaccessible alert dialog