adding a warning property to the confirm function, for easy coloring of the buttons