fix query to filter valid staff
add prompt message
add confirmation box before submission