Save or Cancel button does not work