adding buttom actions for form