Fix modal dialog display

Visual Studio unfortunately must be aware of any model dialogs while
they are visible.  This changes the Rename dialog to call into the
EnableModeless API as appropriate during display