Exactly what I have been looking for. The magnet is strong and the pole does move when door is open and closed.