Change behavior of dropdown menu

Fixed https://github.com/t3framework/t3/issues/257