add flash message for save & copy