closing one window will now shutdown the entire application