Hi Dave,
I was able to reproduce the issue with the help of Murtuza.
I missed one corner case - it was not able to close the dialog, when the parent/collection has not yet been loaded.
Please find the updated patch.
This patch only includes the dialog issue.
Please let me know - if you still see the issue.
I've committed the patch about the objects (model/collection/views) release.