Fixing Selenium IDE formatters to call alert.getText() and storing the alert text before dismissing the alert