preventing starting new editing if not in browse mode