Expr: Add control for close
avoid auto focus when manually close