fix presentation is in progress error

Prevent attempt to present view controller while a presentation is in
progress