Updated setDefaultCloseOperation to reflect SINGLE_VIEW_MODE constant appropriately