Get ui to destroy and create based on what the modal submits