input save/cancel buttons fix