add proper alert messages for save button