Fix alert close box.

Current alert close boxes fail to actually close. Instead they throw an `Uncaught TypeError: Object[object Object] has no method data_options` error. This PR restores what already worked on 4.3.1.