updated save and cancel button on pop up window