CKFinder may be opened in a popup. You may define a custom JavaScript function to be called when an image is selected (double-clicked).
Selected File URL
Selected Image URL