Updates to allow adding of elements thru popup with new methodology