Only show the main dialog pane on taskbar when executing a Cancel dialog. Assign previous window handle as a parent when creating Cancel dialog box. CORE-17702