footer dialog - js before