added restart and close buttons