Refs #10372 Add unit tests for prompt before discarding
Merge branch 'feature/10372_prompt_before_discard_table' into develop