feat #349 maximizable dialog

see #349