fix for not selecting element after open
1 file changed