fixed context for buttons on modal