Add form modal and form settings

Modal implementation needs to be cleaned up for form settings.
same comment as above