Fixed dismissAddAnotherPopup hook in Firefox