fixed alignment of title and close modal dialog js