Embed popup fix bug