stop propogation fucks with the destroy javascript, hackily went around to make it still work, but closes after