Set up button1 functionality, added popup box