Make signal/point/line popups dynamic to allow reuse when using them for editing