Changing contenteditable fields to popup forms