Adding support to automatically close refine on blur