The differences are that this extends FormPanel instead of Popup which means almost all of the changes were to just account for not closing anymore and resetting the necessary variables for when a new feature is selected. I am not sure if there is a better way to do this or not, if you have any suggestions I would appreciate the input.