I am trying to minimize a dialog box that is opened in my window, but it is not minimizing.
The main problem is that it minimizes for a fraction of seconds but again then pops up.

The following piece of code i employ

<desk:window iconifiable="true" opened="#{rBean.active}" id="Chart" loadStartpageOnOpen="true" src="modules/rohan/pages/charts.faces" title="Chart" onCloseAction="#{rBean.closeMainGUI}" width="350" height="250" alwaysOnTopSetable="false" resizable="false" maximizable="false" />