mostly completed the photochooser UI