Reset the warning popup when done. Use the close method inside of the callback function.