Catch exceptions and show dialog