I want to show a confirmation dialogue for only a specific time, so that it runs out when the user
a) leaves the page
b) doesn't answer in a specific time
var acception = confirm("Accept?");
if(acception == true){
changeStatus("accepted");
}
else{
changeStatus("denied");
}