add callback before render dropdown view