add 'showDialog' and assets.