Include jquery-ui-dialog only if wordpress login is enabled