Had an idea to allow me to quickly edit a text value without any complicated dialogs or modals. Managed to do it all in jQuery. I placed the input and text span in the same div and then hid the input. When I click on the text it hides the text, reveals the input and then I reverse the process when you blur the input.
Edit a text value with jQuery