[Core] Fixes: reloadable modal does not work if response html is not wrapped in a container