offline / online check, popup only when editing