--- a/skin.aeonmq5/720p/CustomSub6012.xml
+++ b/skin.aeonmq5/720p/CustomSub6012.xml
@@ -2,9 +2,7 @@
 
 	<window id="6012" type="dialog"><!-- Shutdown -->
 	<defaultcontrol>-</defaultcontrol>
-	<onload condition="!StringCompare(Container(9000).numitems,0)">SetFocus(9000)</onload>
-	<onload condition="StringCompare(Container(9000).numitems,0)">SetFocus(9101)</onload>
-	<onunload>Skin.Reset(submode)</onunload>
+	<include>SubMenuCommon</include>
 	<controls>
 	<control type="group">
 	<include condition="Window.IsVisible(6000)">MenuCustom</include>
@@ -22,8 +20,8 @@
 	<property name="name">menu1201</property>
 	<property name="id">$INFO[skin.string(menu1201.master)]</property>
 	<onclick condition="Window.IsVisible(6000)">SetFocus(5000)</onclick>
-	<onclick condition="Window.IsVisible(Home)">Close</onclick>
-	<onclick condition="Window.IsVisible(Home)">$VAR[value_menu1201.action]</onclick>
+	<onclick condition="Window.IsVisible(Home)">Dialog.Close(6012)</onclick>
+	<onclick condition="Window.IsVisible(Home)">Skin.SetString(submenu_action,$VAR[value_menu1201.action])</onclick>
 	<visible>![IsEmpty(skin.string(menu1201.master)) | SubString(skin.string(menu1201.visible),off)] | Window.IsVisible(6000)</visible>
 	</item>
 	<item>
@@ -32,8 +30,8 @@
 	<property name="name">menu1202</property>
 	<property name="id">$INFO[skin.string(menu1202.master)]</property>
 	<onclick condition="Window.IsVisible(6000)">SetFocus(5000)</onclick>
-	<onclick condition="Window.IsVisible(Home)">Close</onclick>
-	<onclick condition="Window.IsVisible(Home)">$VAR[value_menu1202.action]</onclick>
+	<onclick condition="Window.IsVisible(Home)">Dialog.Close(6012)</onclick>
+	<onclick condition="Window.IsVisible(Home)">Skin.SetString(submenu_action,$VAR[value_menu1202.action])</onclick>
 	<visible>![IsEmpty(skin.string(menu1202.master)) | SubString(skin.string(menu1202.visible),off)] | Window.IsVisible(6000)</visible>
 	</item>
 	<item>
@@ -42,8 +40,8 @@
 	<property name="name">menu1203</property>
 	<property name="id">$INFO[skin.string(menu1203.master)]</property>
 	<onclick condition="Window.IsVisible(6000)">SetFocus(5000)</onclick>
-	<onclick condition="Window.IsVisible(Home)">Close</onclick>
-	<onclick condition="Window.IsVisible(Home)">$VAR[value_menu1203.action]</onclick>
+	<onclick condition="Window.IsVisible(Home)">Dialog.Close(6012)</onclick>
+	<onclick condition="Window.IsVisible(Home)">Skin.SetString(submenu_action,$VAR[value_menu1203.action])</onclick>
 	<visible>![IsEmpty(skin.string(menu1203.master)) | SubString(skin.string(menu1203.visible),off)] | Window.IsVisible(6000)</visible>
 	</item>
 	<item>
@@ -52,8 +50,8 @@
 	<property name="name">menu1204</property>
 	<property name="id">$INFO[skin.string(menu1204.master)]</property>
 	<onclick condition="Window.IsVisible(6000)">SetFocus(5000)</onclick>
-	<onclick condition="Window.IsVisible(Home)">Close</onclick>
-	<onclick condition="Window.IsVisible(Home)">$VAR[value_menu1204.action]</onclick>
+	<onclick condition="Window.IsVisible(Home)">Dialog.Close(6012)</onclick>
+	<onclick condition="Window.IsVisible(Home)">Skin.SetString(submenu_action,$VAR[value_menu1204.action])</onclick>
 	<visible>![IsEmpty(skin.string(menu1204.master)) | SubString(skin.string(menu1204.visible),off)] | Window.IsVisible(6000)</visible>
 	</item>
 	<item>
@@ -62,8 +60,8 @@
 	<property name="name">menu1205</property>
 	<property name="id">$INFO[skin.string(menu1205.master)]</property>
 	<onclick condition="Window.IsVisible(6000)">SetFocus(5000)</onclick>
-	<onclick condition="Window.IsVisible(Home)">Close</onclick>
-	<onclick condition="Window.IsVisible(Home)">$VAR[value_menu1205.action]</onclick>
+	<onclick condition="Window.IsVisible(Home)">Dialog.Close(6012)</onclick>
+	<onclick condition="Window.IsVisible(Home)">Skin.SetString(submenu_action,$VAR[value_menu1205.action])</onclick>
 	<visible>![IsEmpty(skin.string(menu1205.master)) | SubString(skin.string(menu1205.visible),off)] | Window.IsVisible(6000)</visible>
 	</item>
 	<item>
@@ -72,8 +70,8 @@
 	<property name="name">menu1206</property>
 	<property name="id">$INFO[skin.string(menu1206.master)]</property>
 	<onclick condition="Window.IsVisible(6000)">SetFocus(5000)</onclick>
-	<onclick condition="Window.IsVisible(Home)">Close</onclick>
-	<onclick condition="Window.IsVisible(Home)">$VAR[value_menu1206.action]</onclick>
+	<onclick condition="Window.IsVisible(Home)">Dialog.Close(6012)</onclick>
+	<onclick condition="Window.IsVisible(Home)">Skin.SetString(submenu_action,$VAR[value_menu1206.action])</onclick>
 	<visible>![IsEmpty(skin.string(menu1206.master)) | SubString(skin.string(menu1206.visible),off)] | Window.IsVisible(6000)</visible>
 	</item>
 	<item>
@@ -82,8 +80,8 @@
 	<property name="name">menu1207</property>
 	<property name="id">$INFO[skin.string(menu1207.master)]</property>
 	<onclick condition="Window.IsVisible(6000)">SetFocus(5000)</onclick>
-	<onclick condition="Window.IsVisible(Home)">Close</onclick>
-	<onclick condition="Window.IsVisible(Home)">$VAR[value_menu1207.action]</onclick>
+	<onclick condition="Window.IsVisible(Home)">Dialog.Close(6012)</onclick>
+	<onclick condition="Window.IsVisible(Home)">Skin.SetString(submenu_action,$VAR[value_menu1207.action])</onclick>
 	<visible>![IsEmpty(skin.string(menu1207.master)) | SubString(skin.string(menu1207.visible),off)] | Window.IsVisible(6000)</visible>
 	</item>
 	<item>
@@ -92,8 +90,8 @@
 	<property name="name">menu1208</property>
 	<property name="id">$INFO[skin.string(menu1208.master)]</property>
 	<onclick condition="Window.IsVisible(6000)">SetFocus(5000)</onclick>
-	<onclick condition="Window.IsVisible(Home)">Close</onclick>
-	<onclick condition="Window.IsVisible(Home)">$VAR[value_menu1208.action]</onclick>
+	<onclick condition="Window.IsVisible(Home)">Dialog.Close(6012)</onclick>
+	<onclick condition="Window.IsVisible(Home)">Skin.SetString(submenu_action,$VAR[value_menu1208.action])</onclick>
 	<visible>![IsEmpty(skin.string(menu1208.master)) | SubString(skin.string(menu1208.visible),off)] | Window.IsVisible(6000)</visible>
 	</item>
 	<item>
@@ -102,8 +100,8 @@
 	<property name="name">menu1209</property>
 	<property name="id">$INFO[skin.string(menu1209.master)]</property>
 	<onclick condition="Window.IsVisible(6000)">SetFocus(5000)</onclick>
-	<onclick condition="Window.IsVisible(Home)">Close</onclick>
-	<onclick condition="Window.IsVisible(Home)">$VAR[value_menu1209.action]</onclick>
+	<onclick condition="Window.IsVisible(Home)">Dialog.Close(6012)</onclick>
+	<onclick condition="Window.IsVisible(Home)">Skin.SetString(submenu_action,$VAR[value_menu1209.action])</onclick>
 	<visible>![IsEmpty(skin.string(menu1209.master)) | SubString(skin.string(menu1209.visible),off)] | Window.IsVisible(6000)</visible>
 	</item>
 	<item>
@@ -112,8 +110,8 @@
 	<property name="name">menu1210</property>
 	<property name="id">$INFO[skin.string(menu1210.master)]</property>
 	<onclick condition="Window.IsVisible(6000)">SetFocus(5000)</onclick>
-	<onclick condition="Window.IsVisible(Home)">Close</onclick>
-	<onclick condition="Window.IsVisible(Home)">$VAR[value_menu1210.action]</onclick>
+	<onclick condition="Window.IsVisible(Home)">Dialog.Close(6012)</onclick>
+	<onclick condition="Window.IsVisible(Home)">Skin.SetString(submenu_action,$VAR[value_menu1210.action])</onclick>
 	<visible>![IsEmpty(skin.string(menu1210.master)) | SubString(skin.string(menu1210.visible),off)] | Window.IsVisible(6000)</visible>
 	</item>
 	<item>
@@ -122,8 +120,8 @@
 	<property name="name">menu1211</property>
 	<property name="id">$INFO[skin.string(menu1211.master)]</property>
 	<onclick condition="Window.IsVisible(6000)">SetFocus(5000)</onclick>
-	<onclick condition="Window.IsVisible(Home)">Close</onclick>
-	<onclick condition="Window.IsVisible(Home)">$VAR[value_menu1211.action]</onclick>
+	<onclick condition="Window.IsVisible(Home)">Dialog.Close(6012)</onclick>
+	<onclick condition="Window.IsVisible(Home)">Skin.SetString(submenu_action,$VAR[value_menu1211.action])</onclick>
 	<visible>![IsEmpty(skin.string(menu1211.master)) | SubString(skin.string(menu1211.visible),off)] | Window.IsVisible(6000)</visible>
 	</item>
 	<item>
@@ -132,8 +130,8 @@
 	<property name="name">menu1212</property>
 	<property name="id">$INFO[skin.string(menu1212.master)]</property>
 	<onclick condition="Window.IsVisible(6000)">SetFocus(5000)</onclick>
-	<onclick condition="Window.IsVisible(Home)">Close</onclick>
-	<onclick condition="Window.IsVisible(Home)">$VAR[value_menu1212.action]</onclick>
+	<onclick condition="Window.IsVisible(Home)">Dialog.Close(6012)</onclick>
+	<onclick condition="Window.IsVisible(Home)">Skin.SetString(submenu_action,$VAR[value_menu1212.action])</onclick>
 	<visible>![IsEmpty(skin.string(menu1212.master)) | SubString(skin.string(menu1212.visible),off)] | Window.IsVisible(6000)</visible>
 	</item>
 	<item>
@@ -142,8 +140,8 @@
 	<property name="name">menu1213</property>
 	<property name="id">$INFO[skin.string(menu1213.master)]</property>
 	<onclick condition="Window.IsVisible(6000)">SetFocus(5000)</onclick>
-	<onclick condition="Window.IsVisible(Home)">Close</onclick>
-	<onclick condition="Window.IsVisible(Home)">$VAR[value_menu1213.action]</onclick>
+	<onclick condition="Window.IsVisible(Home)">Dialog.Close(6012)</onclick>
+	<onclick condition="Window.IsVisible(Home)">Skin.SetString(submenu_action,$VAR[value_menu1213.action])</onclick>
 	<visible>![IsEmpty(skin.string(menu1213.master)) | SubString(skin.string(menu1213.visible),off)] | Window.IsVisible(6000)</visible>
 	</item>
 	<item>
@@ -152,8 +150,8 @@
 	<property name="name">menu1214</property>
 	<property name="id">$INFO[skin.string(menu1214.master)]</property>
 	<onclick condition="Window.IsVisible(6000)">SetFocus(5000)</onclick>
-	<onclick condition="Window.IsVisible(Home)">Close</onclick>
-	<onclick condition="Window.IsVisible(Home)">$VAR[value_menu1214.action]</onclick>
+	<onclick condition="Window.IsVisible(Home)">Dialog.Close(6012)</onclick>
+	<onclick condition="Window.IsVisible(Home)">Skin.SetString(submenu_action,$VAR[value_menu1214.action])</onclick>
 	<visible>![IsEmpty(skin.string(menu1214.master)) | SubString(skin.string(menu1214.visible),off)] | Window.IsVisible(6000)</visible>
 	</item>
 	<item>
@@ -162,8 +160,8 @@
 	<property name="name">menu1215</property>
 	<property name="id">$INFO[skin.string(menu1215.master)]</property>
 	<onclick condition="Window.IsVisible(6000)">SetFocus(5000)</onclick>
-	<onclick condition="Window.IsVisible(Home)">Close</onclick>
-	<onclick condition="Window.IsVisible(Home)">$VAR[value_menu1215.action]</onclick>
+	<onclick condition="Window.IsVisible(Home)">Dialog.Close(6012)</onclick>
+	<onclick condition="Window.IsVisible(Home)">Skin.SetString(submenu_action,$VAR[value_menu1215.action])</onclick>
 	<visible>![IsEmpty(skin.string(menu1215.master)) | SubString(skin.string(menu1215.visible),off)] | Window.IsVisible(6000)</visible>
 	</item>
 	<item>
@@ -172,8 +170,8 @@
 	<property name="name">menu1216</property>
 	<property name="id">$INFO[skin.string(menu1216.master)]</property>
 	<onclick condition="Window.IsVisible(6000)">SetFocus(5000)</onclick>
-	<onclick condition="Window.IsVisible(Home)">Close</onclick>
-	<onclick condition="Window.IsVisible(Home)">$VAR[value_menu1216.action]</onclick>
+	<onclick condition="Window.IsVisible(Home)">Dialog.Close(6012)</onclick>
+	<onclick condition="Window.IsVisible(Home)">Skin.SetString(submenu_action,$VAR[value_menu1216.action])</onclick>
 	<visible>![IsEmpty(skin.string(menu1216.master)) | SubString(skin.string(menu1216.visible),off)] | Window.IsVisible(6000)</visible>
 	</item>
 	<item>
@@ -182,8 +180,8 @@
 	<property name="name">menu1217</property>
 	<property name="id">$INFO[skin.string(menu1217.master)]</property>
 	<onclick condition="Window.IsVisible(6000)">SetFocus(5000)</onclick>
-	<onclick condition="Window.IsVisible(Home)">Close</onclick>
-	<onclick condition="Window.IsVisible(Home)">$VAR[value_menu1217.action]</onclick>
+	<onclick condition="Window.IsVisible(Home)">Dialog.Close(6012)</onclick>
+	<onclick condition="Window.IsVisible(Home)">Skin.SetString(submenu_action,$VAR[value_menu1217.action])</onclick>
 	<visible>![IsEmpty(skin.string(menu1217.master)) | SubString(skin.string(menu1217.visible),off)] | Window.IsVisible(6000)</visible>
 	</item>
 	<item>
@@ -192,8 +190,8 @@
 	<property name="name">menu1218</property>
 	<property name="id">$INFO[skin.string(menu1218.master)]</property>
 	<onclick condition="Window.IsVisible(6000)">SetFocus(5000)</onclick>
-	<onclick condition="Window.IsVisible(Home)">Close</onclick>
-	<onclick condition="Window.IsVisible(Home)">$VAR[value_menu1218.action]</onclick>
+	<onclick condition="Window.IsVisible(Home)">Dialog.Close(6012)</onclick>
+	<onclick condition="Window.IsVisible(Home)">Skin.SetString(submenu_action,$VAR[value_menu1218.action])</onclick>
 	<visible>![IsEmpty(skin.string(menu1218.master)) | SubString(skin.string(menu1218.visible),off)] | Window.IsVisible(6000)</visible>
 	</item>
 	<item>
@@ -202,8 +200,8 @@
 	<property name="name">menu1219</property>
 	<property name="id">$INFO[skin.string(menu1219.master)]</property>
 	<onclick condition="Window.IsVisible(6000)">SetFocus(5000)</onclick>
-	<onclick condition="Window.IsVisible(Home)">Close</onclick>
-	<onclick condition="Window.IsVisible(Home)">$VAR[value_menu1219.action]</onclick>
+	<onclick condition="Window.IsVisible(Home)">Dialog.Close(6012)</onclick>
+	<onclick condition="Window.IsVisible(Home)">Skin.SetString(submenu_action,$VAR[value_menu1219.action])</onclick>
 	<visible>![IsEmpty(skin.string(menu1219.master)) | SubString(skin.string(menu1219.visible),off)] | Window.IsVisible(6000)</visible>
 	</item>
 	<item>
@@ -212,8 +210,8 @@
 	<property name="name">menu1220</property>
 	<property name="id">$INFO[skin.string(menu1220.master)]</property>
 	<onclick condition="Window.IsVisible(6000)">SetFocus(5000)</onclick>
-	<onclick condition="Window.IsVisible(Home)">Close</onclick>
-	<onclick condition="Window.IsVisible(Home)">$VAR[value_menu1220.action]</onclick>
+	<onclick condition="Window.IsVisible(Home)">Dialog.Close(6012)</onclick>
+	<onclick condition="Window.IsVisible(Home)">Skin.SetString(submenu_action,$VAR[value_menu1220.action])</onclick>
 	<visible>![IsEmpty(skin.string(menu1220.master)) | SubString(skin.string(menu1220.visible),off)] | Window.IsVisible(6000)</visible>
 	</item>
 	</content>