Add return value for modal yes action

The return value determines if the the modal can be closed on execution
of modal yes function
Merge pull request #1 from slakshminadh/master

Add return value for modal yes action