I have an application which is running. From the menu of the application I open a modal dialog box. When I try to close the application from the dock preferences widget by right clicking and selecting Quit option. The application kind of hangs, and a force quit is required. The same piece of code seems to works well in windows.
We see two views in system taskbar one for application and one for modal window thats open.
We see only one view for the parent application thats all.