added close option to js sign in form