Add more functions.

Click anywhere other than dialog will close the dialog.
Add one and minus one button.