Added a cancel button to the main.html to cancel the union/intersection