Story 49926515: fixing modal loading from added widgets