Adding buttons and image popup