Use keyboard command to close all of an applications windows in OS X