smoothly close dropdown forms