use buttons for save and cancel

use buttons for save and cancel