Make Project visible again after clicking on Dock Icon

Hey there!

Is there currently any way to show a hidden window if the dock icon is clicked? I don’t want to lose focus, when the CloseButton is clicked (then i could use Process::hide()). All Native-Mac-Apps work this way, so this would be really nice to have.

Also it would be nice to change the Dock-Pop-Up-Menu when right clicking it (e.g. to show windows or old projects), but this is not really necessary.