Panels won't dock!

Somehow, my properties and actions panels became “undocked”. They now refuse to snap back into their original positions. What to do??? :doh: