I found the example solution quite interesting. One nagging question is:
How can one start the application.showFileOpenDialog with the path that was used last? Starting at the root position each time is very inconvenient if you have a large number of images to add to the album.