Discount Message Dialog Box Modified

HTML, JS, and CSS modifications were made to the discount message dialog
box in order to make it function as desired.
Added Comments and Sleep Delay

Comments were added to clearly code usage and a sleep delay for the
discount message dialog box.