Added addImage method to pop up selected image in a new frame.