fix focus issue. after submit a value. the popup will be closing