add maximize window to coincontroldialog