Moved DismissDialog and DisplayAlerDialog to appblocks