changed filter selection to jquery-ui dialog