Fixed double alert dialog