Added a discard button.