second dialog window for photo app, issues with position need to be solved