changed new item page to a popup