Add input field to let the user enter the object to diagram