Add showAlert method