Reload widget to use newly created security
A security created on the fly could not be used in the current edit
session. This change fixes this problem.
BUG: 394394
FIXED-IN: 5.0.2
(cherry picked from commit 87d3c4ef0cbe1bddd19df2ef64b762c8c82b349d)