Added Alert Dialog to Discard button