I am glad you brought this up. I have stuggling with the derail attention and forgot about this solution.
I found these Brio type magnets on eBay with Grade 8 ceramics. They may be strong enough.
I ordered some, I'll let you how it works out next week.