Open newly selected document in a button