Issue 381: ErrorDialog with details has been added to try-catch blocks.