If you can’t pay your mortgage, you may be able to have it modified. Here’s what to look for.