Add cancel button and mock javascript handler