Refactor grid parts of dialogue state collection into DialogueStateGridView
Fix dialogue state titlebar input selection (wasn't working with jquery ui sortable's cancel option)