I want to create a button with cancel option(image).
Please have a look image.
Cancel or button both have different click option. 
[enter image description here](https://i.stack.imgur.com/9UK28.png)How I can achieve this.