Added a "Code Preview" tab on permissions dialog.

Minor enhancements on operation list when removing last operations.

Minor enhancements on table and relationship dialogs on error control
flow.