showMessage(): attaches to active tab and shows an alert