Implemented project/context buttons in add/edit dialog