How do I hide the "open window icons" in the dock in OSX 10.10?
I actually found an answer to this question now.

Apparently, there is an option "Minimize windows into application icon" in System Preferences > Dock that will accomplish what I want.

The option mentioned: