changed modal to allow you to create a new item if nothing is selected when it is invoked. fixes #258