Fixed manager to not add .js extension to DynamicDialog