Moved signature modal to directive