use fw.elementEventHasListenerInContainer() to decide if open the edit modal