add prefilled html and selector support