add mode without ajax