added color changes and confirm for modify and delete querys