Minimize Windows into Application Icon

In System Preferences, Dock, switch on Minimize windows into application icon. Then when you click on the yellow minimize button at the top of any window, it won’t appear on the right side of the Dock. Instead, you can bring it back by control+clicking on the application and selecting the window. Or, click and hold the Dock icon to bring up an Expose-like view of the applications’s windows.