Added ability to create new object with a popup