Closable flash partial redux

This is a repeat of pull request #238, which has an error in the html options hash.  This fixes issue #163.