pretty date selector and functional event registration