Fix time setting issues on Add access entity dialog

Bug tracker: http://www.concrete5.org/developers/bugs/5-6-3-1/advanced-permissions-time-settings-issue/

This request fixes javascript errors on Add access entity dialog, but revert some lines from this commit by @patrickheck : https://github.com/concrete5/concrete5/commit/82c9d56ca8b9943c1f6e69c257c6e0b03a7fe87c

I'd like to know why this commit merged for...