Added checkbox for "Mac hide on close" feature