Added a cancel button to the PDA

Fixes #5771