Im a little bit confuse about firing a call back function in javascript modal of bootstrap3. In normal jquery.post you can do it like,
jquery.post
$.post(\
Wrap it with
$(window).on('load', function() { ...modal callback here. });