How to close this error dialog by default?