ensures edit ability is correctly passed to database on creation of text

Also sets focus on fancy box displays