Adds onapprove and ondeny callback to modal, and doc info #241