Bind close to html