tweaking things, fixing bug with add component modal dialog