Minor bug fixes in modal controller for day limits.