Fix record steps dropdown opening and closing