Added buttons and a messagebox