added buttons and modal to index