How to ensure that windows opened from the Dock open in the current Space/Desktop
⌘ Command "click" on the minimized window in the dock, and it will restore (de-minimize) in the current workspace, regardless of which space it was on when it was minimized.