Handle CK_ShowTabTws and CK_ShowMargin actions in dialog level instead of widget...