Fixed bug with entity creation modal.