Flash message before triggering event