Sub block gets added on the flowgraph on pressing enter