How can I permanently modify OS X's green window button?

The behaviour you want to achieve is not trivially possible on OS X. The behaviour requires modifications to the underlying window management framework.

Individual application developers may be able to achieve this behaviour but this would go counter to Apple's Human Interface Guidelines. Going against these guidelines might risk the application being rejected from the Mac App Store.

Tell Apple

Send Apple your feedback and let them know what you want and, most importantly, why you want this behaviour.