Fixed alert view delegate

Waits for dismiss until acting. Oops!