Extra error handling for validation.
Fixed create new entity dialog spawning.