Do not open a popup on edit mode even on paths