added save and cancel buttons