VE-1477: Hide selection and context menu while Template dialog is open

bottom and right variables are not being used.