Close item add overlay on adding item and change item code controller to
service