Added the cancel button handling and all other required pieces.
added all remaining required elements
Added all required pieces
added github link