Add modal to resource button