switching from contenteditable to text inputs - should fix issue #4