add cancel button in the popup layout