modify style and confirm cancel button and callback