ajax-modal, better selector for moving flash to main page

Not sure what that old one was supposed to do, but it was messing things up when there was more than one flash message appended to the main page at once, subsequent ones were ending up inside existing ones.