I'm surprised this doesn't happen automatically, but I would like my applications window to open automatically when the Dock icon is clicked.
Just to clarify, when i open the app, the window automatically opens, but when I click the cross for the window but leave the App running, the window won't open when i click the dock icon.