Removed fixed width of textboxes.
Rolled back schema change will re-add later.
Reworked move to first element logic when inserting contents.
Fixed repositioning of dialogs if they overflow.
Flexed size even more for MacOS Safari.