Implemented opening buttons in modal