Multiplying permission denied dialogs fix