added jquery ui datepicker to gallery form