add cancel buttons to close new/edit panels