sale modal bug fix