confirmation dialog if changes have been made