fixed some errors on moving after hitting add or modify, also add focus
on search and modify to correct text field