Raise events on alert, confirm, prompt so that we could handle them in Simulator