Gui now closes when button is pressed