add done and cancel button in pop out window