Change dropdown menu to a directive

Also change the bootstrap button to a custom one.