Maryland law states that you have the right to the condo documents prior to your purchase. This includes the resale certificate. This is prepared by a member of the BOD or the management company. It will state if the dues are outstanding. You should have your agent pass this on right away to your settlement attorney or title company so that they can get it on the settlement sheet for the bank to pay any portion they owe up until the day you take ownership.
It is best to work with a buyers agent who understands the distress sale market and how to best advice you through the process.
I myself am a certified short sale / foreclosure agent and will be more than happy to offer you my help in any way that I can, if you are interested in a purchase in either Maryland or Delaware beach areas.