Add message dialogue confirmation for saving the record