Add selection setting through field(s)

When a popup calendar is opened, the selection
is set according to the start and end fields, if
they have a value