Added loading popup to render image button