bootstrap dropdown functioning in 3rd template