Feature add tooltip position to modal

### CHANGE SUMMARY
* adding optional ```isTooltip``` attribute flag, which when enabled will position the modal as a tooltip (i.e. calculate the position based on the clicked element) instead of positioning via CSS

### TEST COVERAGE
* adding a test to make sure tooltip position calculation happens if the ```isTooltip``` attribute is set to true