If you do the foam, you could use a trash bag covered form the same size as your overflow, and then slide it over.