end of 27 october 2013. working on modal controller