Completed the error handling mechanism

1. Now changed the "system-wide shortcut cannot be override" error is presented in document-modal sheet
2. Completed the error handling mechanism.