added capability to change button images of popup