added alert with functioning buttons