Prevent alert dialog click listener from firing multiple times