Prevent CreateNewNodeDialog from making incorrect nodes