0b28c6a254
The selection gets lost while opening the modal dialogue to update an embedded media. Caching the current selection allows us to update the previously selected node instead of updating the first embedded media. Signed-off-by: Gregor Eichelberger <gregor.eichelberger@tuwien.ac.at>